Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DMA 5/8]: Clean up macros #2527

Merged
merged 4 commits into from
Nov 22, 2024
Merged

[DMA 5/8]: Clean up macros #2527

merged 4 commits into from
Nov 22, 2024

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Nov 13, 2024

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
  • My changes were added to the CHANGELOG.md in the proper section.
  • I have added necessary changes to user code to the Migration Guide.
  • My changes are in accordance to the esp-rs API guidelines

Extra:

Pull Request Details 📖

Description

This PR mostly cleans up macros and interrupt handlers (reducing the number of locations we need to edit), but also refactors the PDMA macro a bit in preparation for CryptoDMA support.

Testing

Describe how you tested your changes.

@bugadani bugadani force-pushed the dma3 branch 4 times, most recently from 3af506e to e10b28f Compare November 13, 2024 14:23
@Dominaezzz
Copy link
Collaborator

fwiw, the last commit LGTM. (Idk if it's easier to get this in earlier to avoid rebasing it)

@bugadani
Copy link
Contributor Author

I'm rebasing this PR over and over again so that I can have an overview of what I'm missing. The idea of the macro dedup came a bit too late, I'd rather not pull it up and rebase over it, especially since it doesn't matter that much.

@bugadani bugadani force-pushed the dma3 branch 2 times, most recently from 6b27763 to 44a0ea1 Compare November 13, 2024 20:20
@bugadani bugadani changed the title [DMA 5/N]: Clean up duplicate PDMA instance macro [DMA 5/8]: Clean up duplicate PDMA instance macro Nov 15, 2024
@bugadani bugadani changed the title [DMA 5/8]: Clean up duplicate PDMA instance macro [DMA 5/8]: Clean up macros Nov 19, 2024
@bugadani bugadani added the skip-changelog No changelog modification needed label Nov 22, 2024
@bugadani bugadani marked this pull request as ready for review November 22, 2024 09:31
esp-hal/src/macros.rs Show resolved Hide resolved
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@MabezDev MabezDev added this pull request to the merge queue Nov 22, 2024
Merged via the queue into esp-rs:main with commit b577566 Nov 22, 2024
35 of 39 checks passed
@bugadani bugadani deleted the dma3 branch November 22, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants